package wang.lxl.remoteexecute;

import java.io.FileInputStream;

/**
 * @Author lixilin
 * @Date 2021/4/24 10:31
 * @Description 测试远程执行
 */
public class ExecutorTest {
    public static void main(String[] args) throws Exception{
        FileInputStream in = new FileInputStream("D:/Demo.class");
        byte[] b = new byte[in.available()];
        in.read(b);
        in.close();
        String execute = JavaclassExecuter.execute(b);
        System.out.println(execute);
    }
}
